package io.renren.modules.recruit_info.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.recruit_info.dao.RecruitmentPositionInforDao;
import io.renren.modules.recruit_info.entity.RecruitmentPositionInforEntity;
import io.renren.modules.recruit_info.service.RecruitmentPositionInforService;


@Service("recruitmentPositionInforService")
public class RecruitmentPositionInforServiceImpl extends ServiceImpl<RecruitmentPositionInforDao, RecruitmentPositionInforEntity> implements RecruitmentPositionInforService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<RecruitmentPositionInforEntity> page = this.page(
                new Query<RecruitmentPositionInforEntity>().getPage(params),
                new QueryWrapper<RecruitmentPositionInforEntity>()
        );

        return new PageUtils(page);
    }

}
